module.exports = {
  lintOnSave: false,
  devServer: {
    // 默认会自动打开浏览器
    open: true,
    disableHostCheck: true,
    proxy: {
      '/api': {
        target: 'http://127.0.0.1:8090/smallHorseShop/',
        changeOrigin: true,
        secure: false,
        pathRewrite: {
          '^/api': ''
        }
      }
    }
  }
}